package com.ych.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author yangchenghao
 */
@Controller
public class TestController {
    @GetMapping("/success")
    public String testSuccess(){
        System.out.println(1/0);
        return "success";
    }
}
